<!DOCTYPE html>
<html>

	<head>

		<meta charset="utf-8">

		<title>光明辞决2单机模式实时排行榜</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.css"/>
	    <style type="text/css">
			html{overflow:hidden;}
	    	.myorder{
				font-size: 5em;
				padding-top: 40px;
			}
			.xuanfu{
				left: 0;
				position: fixed;
				bottom: 0;//这里换成top:0;就悬浮在头部
				width: 100%;
				z-index: 100;
			}
	    </style>


	</head>
	<body>
		
		<iframe id="iframe" name="iframe" height="100%" width="100%" style="background-image: url(img/background.jpg);"
			src="http://180.76.229.210:8080/MaveSSMObject/player/score/findAll" scrolling="0.1" frameborder="0"
			onload="changeFrameHeight()">
		</iframe>
		<div class="xuanfu" style="width: 100%;">
			<a href="http://180.76.229.210/" style="width: 100%;">
			    <button class="btn btn-block btn-primary ">返回主页</button>
			</a>
		</div>
	
		<script>
			function changeFrameHeight() {
				var iframe = document.getElementById("iframe");
				iframe.height = document.documentElement.clientHeight;
			}
			//onresize属性可以用来获取或设置当前窗口的resize事件的事件处理函数
			//onresize事件会在窗口或框架被调整大小时发生
			window.onresize = function() {
				changeFrameHeight();
			}
		</script>
	</body>
	<script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
		
</html>
